//引入mutations类型

export default {
  //存储token
  updata_token(state, payload) {
    console.log(payload);
    state.token = payload;
  },
  //清除token
  remove_token(state) {
    state.token = null;
  },
};
